import Layout from '@/views/layout/Layout'

const subjectRouter = {
  path: '/subject',
  component: Layout,
  name: 'Subject',
  redirect: '/subject/course',
  meta: {
    title: '课程',
    icon: 'nested'
  },
  children: [
    {
      path: 'course',
      name: 'Course',
      component: () => import('@/views/subject/course'),
      meta: {
        title: '课程管理'
      }
    },
    {
      path: 'classpackage',
      name: 'classpackage',
      component: () => import('@/views/subject/classpackage/classpackage'),
      meta: {
        // title: '课程包管理'
        title: '培训计划管理'
      }
    },
    {
      path: 'publicclass',
      name: 'Publicclass',
      component: () => import('@/views/subject/publicclass'),
      meta: {
        title: '公开课管理'
      }
    },
    {
      path: 'live',
      name: 'Live',
      component: () => import('@/views/subject/live'),
      meta: {
        title: '直播管理'
      }
    },
    {
      path: 'classroom',
      name: 'Classroom',
      component: () => import('@/views/subject/classroom'),
      meta: {
        title: '班级管理'
      }
    },
    {
      path: 'plantracking',
      // hidden: true,
      name: 'Plantracking',
      component: () => import('@/views/subject/plantracking'),
      meta: {
        title: '培训计划追踪'
      }
    },
    {
      path: 'topic',
      name: 'Topic',
      component: () => import('@/views/subject/topic'),
      meta: {
        title: '话题管理'
      }
    },
    {
      path: 'question',
      name: 'Question',
      component: () => import('@/views/subject/question'),
      meta: {
        title: '问答管理'
      }
    },
    {
      path: 'notes',
      name: 'Notes',
      component: () => import('@/views/subject/notes'),
      meta: {
        title: '笔记管理'
      }
    },
    {
      path: 'evaluation',
      name: 'Evaluation',
      component: () => import('@/views/subject/evaluation'),
      meta: {
        title: '评价管理'
      }
    },
    {
      path: 'classify',
      name: 'Classify',
      component: () => import('@/views/subject/classify'),
      meta: {
        title: '分类管理'
      }
    },
    {
      path: 'label',
      name: 'Label',
      component: () => import('@/views/subject/label'),
      meta: {
        title: '标签管理'
      }
    },
    {
      path: 'settime',
      name: 'Settime',
      component: () => import('@/views/subject/settime'),
      meta: {
        title: '约排管理'
      }
    },
    {
      path: 'cresubject',
      name: 'Cresubject',
      component: () => import('@/views/subject/cresubject'),
      hidden: true,
      meta: {
        title: '创建课程'
      }
    },
    {
      path: 'submanage',
      name: 'Submanage',
      component: () => import('@/views/subject/submanage'),
      meta: {
        title: '创建管理'
      },
      hidden: true
    },
    {
      path: 'calendar',
      name: 'Calendar',
      component: () => import('@/views/subject/calendar'),
      meta: {
        title: '课程日历'
      },
      hidden: true
    },
    {
      path: 'problem',
      name: 'Problem',
      component: () => import('@/views/subject/problem'),
      meta: {
        title: '常见问题'
      },
      hidden: true
    }
    // {
    //   path: 'facecourse',
    //   name: 'Facecourse',
    //   component: () => import('@/views/subject/facecourse'),
    //   redirect: '/subject/facecourse',
    //   meta: {
    //     title: '面授课程'
    //   },
    //   children: [
    //     {
    //       path: 'recruit',
    //       name: 'Recruit',
    //       component: () => import('@/views/subject/facecourse/recruit'),
    //       meta: {
    //         title: '招生'
    //       }
    //     },
    //     {
    //       path: 'student',
    //       name: 'Student',
    //       component: () => import('@/views/subject/facecourse/student'),
    //       meta: {
    //         title: '学员'
    //       }
    //     },
    //     {
    //       path: 'class',
    //       name: 'Class',
    //       component: () => import('@/views/subject/facecourse/class'),
    //       meta: {
    //         title: '班级'
    //       }
    //     },
    //     {
    //       path: 'aligncourse',
    //       name: 'Aligncourse',
    //       component: () => import('@/views/subject/facecourse/aligncourse'),
    //       meta: {
    //         title: '排课'
    //       }
    //     },
    //     {
    //       path: 'course',
    //       name: 'Course',
    //       component: () => import('@/views/subject/facecourse/course'),
    //       meta: {
    //         title: '课程'
    //       }
    //     },
    //     {
    //       path: 'appointment',
    //       name: 'Appointment',
    //       component: () => import('@/views/subject/facecourse/appointment'),
    //       meta: {
    //         title: '预约管理'
    //       }
    //     },
    //     {
    //       path: 'classroom',
    //       name: 'Classroom',
    //       component: () => import('@/views/subject/facecourse/classroom'),
    //       meta: {
    //         title: '教室'
    //       }
    //     },
    //     {
    //       path: 'campus',
    //       name: 'Campus',
    //       component: () => import('@/views/subject/facecourse/campus'),
    //       meta: {
    //         title: '校区'
    //       }
    //     },
    //     {
    //       path: 'studentinfo',
    //       name: 'Studentinfo',
    //       component: () =>
    //         import('@/views/subject/facecourse/components/student/studentinfo'),
    //       meta: {
    //         title: '学员详情'
    //       },
    //       hidden: true
    //     },
    //     {
    //       path: 'createclass',
    //       name: 'Createclass',
    //       component: () =>
    //         import('@/views/subject/facecourse/components/class/createclass'),
    //       meta: {
    //         title: '新建班级'
    //       },
    //       hidden: true
    //     },
    //     {
    //       path: 'createclassroom',
    //       name: 'Createclassroom',
    //       component: () =>
    //         import(
    //           '@/views/subject/facecourse/components/classroom/createclassroom'
    //         ),
    //       meta: {
    //         title: '新建教室'
    //       },
    //       hidden: true
    //     },
    //     {
    //       path: 'createcampus',
    //       name: 'Createcampus',
    //       component: () =>
    //         import('@/views/subject/facecourse/components/campus/createcampus'),
    //       meta: {
    //         title: '新建校区'
    //       },
    //       hidden: true
    //     },
    //     {
    //       path: 'createcourse',
    //       name: 'Createcourse',
    //       component: () =>
    //         import('@/views/subject/facecourse/components/course/createcourse'),
    //       meta: {
    //         title: '新建课程'
    //       },
    //       hidden: true
    //     },
    //     {
    //       path: 'scheduleinfo',
    //       name: 'Scheduleinfo',
    //       component: () =>
    //         import(
    //           '@/views/subject/facecourse/components/aligncourse/scheduleinfo'
    //         ),
    //       meta: {
    //         title: '日程详情'
    //       },
    //       hidden: true
    //     },
    //     {
    //       path: 'newschedule',
    //       name: 'Newschedule',
    //       component: () =>
    //         import(
    //           '@/views/subject/facecourse/components/aligncourse/newschedule'
    //         ),
    //       meta: {
    //         title: '新建日程'
    //       },
    //       hidden: true
    //     },
    //     {
    //       path: 'newfacecourse',
    //       name: 'Newfacecourse',
    //       component: () =>
    //         import(
    //           '@/views/subject/facecourse/components/recruit/newfacecourse'
    //         ),
    //       meta: {
    //         title: '新建面授课'
    //       },
    //       hidden: true
    //     },
    //     {
    //       path: 'newappoint',
    //       name: 'Newappoint',
    //       component: () =>
    //         import('@/views/subject/facecourse/components/recruit/newappoint'),
    //       meta: {
    //         title: '新建预约'
    //       },
    //       hidden: true
    //     },
    //     {
    //       path: 'clientinfo',
    //       name: 'Clientinfo',
    //       component: () =>
    //         import('@/views/subject/facecourse/components/recruit/clientinfo'),
    //       meta: {
    //         title: '客户详情'
    //       },
    //       hidden: true
    //     },
    //     {
    //       path: 'compileform',
    //       name: 'Compileform',
    //       component: () =>
    //         import('@/views/subject/facecourse/components/recruit/compileform'),
    //       meta: {
    //         title: '新建表单'
    //       },
    //       hidden: true
    //     }
    //   ]
    // },
    // {
    //   path: 'storemanage',
    //   name: 'Storemanage',
    //   component: () => import('@/views/subject/storemanage'),
    //   meta: {
    //     title: '店铺管理'
    //   }
    // },
    // {
    //   path: 'decoratepage',
    //   name: 'Decoratepage',
    //   component: () => import('@/views/subject/storemanage/decoratepage'),
    //   meta: {
    //     title: '装修店铺'
    //   },
    //   hidden: true
    // }
  ]
}
export default subjectRouter
